//
//  ATScriptStepEditorView.h
//  AutomationTool
//
//  Created by Laurie Marmon on 3/3/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class ATScriptStep;
@class ATScriptStepEditorView;

@protocol ATScriptStepEditorViewDelegate <NSObject>

- (void)editorView:(ATScriptStepEditorView *)view didChangeParameterName:(NSString *)name toValue:(NSString *)value;

@end

@interface ATScriptStepEditorView : NSView <NSTextFieldDelegate>

@property (nonatomic, weak) id<ATScriptStepEditorViewDelegate> delegate;

- (void)drawViewForScriptStep:(ATScriptStep *)scriptStep;
- (void)resetDefaultView;

@end
